package com.ruoyi.quartz.task;

import com.ruoyi.module.business.JdDaojiaBusiness;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component("jdDaojiaoTask")
@RequiredArgsConstructor
public class JdDaojiaoTask {
    private final JdDaojiaBusiness opendjBusiness;

    public void batchUpdateOutSkuId() {
        opendjBusiness.batchUpdateOutSkuId("13");
    }

    public void syncAllBookTasks() {
        opendjBusiness.syncAllBookTasks("13");
    }
}
